import java.util.Stack;

public class cl {
    public static void main(String[] args){
        System.out.println("hello,world!");
    }

    //实现四则运算，不带括号的情况
    // 1+2*4-4/2
    public float compute(String params) {
        Stack<Integer> numStack = new Stack<>();
        Stack<Character> operatorStack = new Stack<>();
        String tempStr = "";
        for (int i = 0; i < params.length(); i++) {
            char temp = params.charAt(i);
            if(isNotNumber(temp)){
                numStack.push(Integer.valueOf(tempStr));
                tempStr="";
                if(operatorStack.isEmpty()){
                    operatorStack.push(temp);
                } else {
                    if(isHigh(operatorStack.peek(),temp)){
                        //计算值压栈
                    }else {
                        operatorStack.push(temp);
                    }
                }
            } else {
                tempStr+=temp;
            }
        }
        //
        while(!operatorStack.isEmpty()){
            
        }
    }


}
